/**
 *                            License
 * THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS  
 * CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). 
 * THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW.  
 * ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR  
 * COPYRIGHT LAW IS PROHIBITED.
 * 
 * BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND  
 * AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE  
 * MAY BE CONSIDERED TO BE A CONTRACT,
 * THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED 
 * HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
 * 
 */
package com.lineage.server.templates;

/**
 * Class <code>L1ItemSetItem</code> 数据库模板:套装(GM指令制作).
 * 
 * @author jrwz
 * @version 2012-6-16下午04:09:26
 * @see com.lineage.server.templates
 * @since JDK1.7
 */
public final class L1ItemSetItem {

    /** 编号. */
    private final int idItemSet;
    /** 数量. */
    private final int amountItemSet;
    /** 加成. */
    private final int enchantItemSet;

    /**
     * 数据库模板:套装(GM指令制作).
     * 
     * @param id
     *            编号
     * @param amount
     *            数量
     * @param enchant
     *            加成
     */
    public L1ItemSetItem(final int id, final int amount, final int enchant) {
        super();
        this.idItemSet = id;
        this.amountItemSet = amount;
        this.enchantItemSet = enchant;
    }

    /**
     * 取得数量.
     * 
     * @return 数量
     */
    public int getAmount() {
        return this.amountItemSet;
    }

    /**
     * 取得加成.
     * 
     * @return 加成
     */
    public int getEnchant() {
        return this.enchantItemSet;
    }

    /**
     * 取得ID.
     * 
     * @return ID
     */
    public int getId() {
        return this.idItemSet;
    }
}
